#ifndef AlarmSettingsView_h
#define AlarmSettingsView_h

#include "SettingsBaseView.h"
#include "Settings.h"

class CAlarmSettingsView: public CSettingsBaseView
{
public:
	static CAlarmSettingsView* NewL(TAlarmSettings& aSettings, TInt& aLastViewInd, TInt aViewId);
	virtual TUid Id() const;
	virtual void LoadItemsL();
	TInt RealIndex();
protected:
	CAlarmSettingsView(TAlarmSettings& aSettings, TInt& aLastSelectedInd, TInt aViewId);
	void ConstructL();
	void FormatTimeL(TDes& aBuf, TInt aSeconds);
	void UpdateAlarmL(TBool aRestartTimers);
protected://from MSettingsObserver
	void LoadVolumeIconL();
	void ShowSettingItemL(TInt aInd);
	TAlarmSettings& iSettings;
	TInt iViewId;
};


#endif
